import request from '@/utils/request'

// 获取路由
export const getRouters = () => {
  return request({
    url: '/xiechetong/sysUsers/get-menu-permission-list',
    method: 'get'
  })
}

// 获取路由menus 和 权限permission
export const getMenusAndPermissions = () => {
  return request({
    url: '/xiechetong/sysUsers/get-menu-permission-list',
    method: 'get'
  })
}